home *** CD-ROM | disk | FTP | other *** search
- Path: fc.hp.com!news
- From: koren@hpsrk.fc.hp.com (Steve Koren)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Virtual memory with No MMU?
- Date: 13 Mar 1996 12:51:54 -0700
- Organization: HP Fort Collins Site
- Sender: koren@hpsrk.fc.hp.com
- Message-ID: <oj6ohq0ai05.fsf@hpsrk.fc.hp.com>
- References: <Dnspsw.K5D@exeter.ac.uk> <392.6642T88T1636@enterprise.net>
- <4i6m1h$mir@lyra.csx.cam.ac.uk> <wulfraedDo7s8L.GCD@netcom.com>
- NNTP-Posting-Host: hpsrk.fc.hp.com
- In-reply-to: wulfraed@kd6mog.netcom.com's message of Wed, 13 Mar 1996 16:24:20 GMT
- X-Newsreader: Gnus v5.0.9
-
-
- wulfraed@kd6mog.netcom.com (Dennis Lee Bieber) wrote:
-
- > Any time you end up swapping to to disk you are going to be slowed
- > down. At least the Amiga's multitasking I/O means some application can get
-
- Yep, that's true. Although there is slightly more to consider. It may
- not make much of a real performance difference. If you swap out
- something that is not in the resident set of the current set of
- processes, the impact is negligible, and you can then use more RAM
- (without swapping) than you could have otherwise.
-
- Example: say I run a commodity from WBStartup that I use only once every
- few days, but I always want it loaded. Normally this thing sits around
- taking up RAM. With VM, it can be paged out (once) when there is memory
- pressure. Thereafter I can use that RAM with no swapping needed. I
- might access the commodity again tomorrow, but I can probably tolerate a
- second of paging activity at that point in order to be able to use the
- extra memory for many hours in the meantime.
-
- Don't confuse proper use of VM with thrashing, which *does* slow things
- down terribly. If used well, VM can have very little impact on the
- system while letting you use much more memory than you could otherwise.
- In day-to-day use I don't think my system averages more than one page
- fault every hour or two. A page fault takes milliseconds, so that's not
- a real big price to pay in order to be able to allocate 30+ Mb on my 16
- Mb system.
-
- - steve
-